package com.tj.shopping.commons;

/**
 * 初始化方法参数&公共参数配置
 */
public class Config {

    /** 初始化代码配置信息  **/
    //（必填）支付宝网关
    //沙箱环境网关：https://openapi-sandbox.dl.alipaydev.com/gateway.do
    public static final  String gatewayUrl = "https://openapi-sandbox.dl.alipaydev.com/gateway.do";

    //（必填）应用ID
    //请填写您的APPID:https://opendocs.alipay.com/common/02nebp
    public static final  String app_id = "9021000133640018";

    //（必填）应用私钥:https://opendocs.alipay.com/common/02kipk?pathHash=0d20b438
    //请填写您的应用私钥，例如：MIIEvQIBADANB ...
    public static final  String merchant_private_key = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCv6X8VEcVZOWkVPfQ9CYtBNacLPyRDculbYrADG7JS7heMhqaMhrFL/feya0kkZUPWlFyjFpQEJX6RpaCTAWLWDgFfGidJ+bahiLZnOfZevFXM2Z92vNN2zkgs6Y8uAbEcdehUDCTrBCOGkQWRT5Q1Q5PitxPda9PGP6gVQPwcmk+vtsFeTAUo+Sv9l2KN5+B9tSXw2XyQQA2j8M5ahcSNMvJ61HlwyBYdadhU8gpi7ZCHTj5UThYyeas/YL6quys/Fse1CabrXlEpSzeVzCe6eWgdnsNuTCc5Z/XKwAFFePCFlTqOcA9cLN/KYZFp7qgfHfmvJjGh4qpNIou0qzmjAgMBAAECggEBAIlctB5YtRi6CsNKkHhFBpdR9PGESaXdijkQ885Jh1LYlkzmLBFZcAKd+xg4THH+HR3m1fuHuucN/CpxAdUo5OuvHgUMIBfUxXaXkY9DpI1PVVRTrwCB7EI+S/++FU7ghVNrApL2tLFLlw4SGh3g3SNGdKk5OmrRMxoARRjrmLIfxZ8Zre9jpjL14Ka+Pcs5iGr7vFPsviOZ8ZNsa9LO4so407bUL66ctHCmTEmXHcJ+X4sYkKuCHCmzEtCckyJ9hdaISd/WB4RaZ0sumHKGCA06zIGs0pLyUG73MYRggVzf2hZs4h3LW2Mqov2qxaYSxwutL3/VKiONM3ZECQK5H/ECgYEA1q5YMsynZ9eEeLYmlxFxvcR/gem/bpXi4Y4TQHq6vTsbr60svlDyJJ+mHeoP7a6dJllBJLYo3OttbKqOH8OWvsrM0/dsFzWvA66Kufz0ZbKKJXWRzgT5NwxChT55y9PF6y1cogHo6GPvPFEONyuIJ5bsASy0ZvLEpowoiUEvb+sCgYEA0cTyx3OLn9dkEGqbumfPS8QUPiy5jBKlOLRpskacF7pnWbI8wExCrmBxCcMGNodmyl6YJi2znCMCUSl35xZ7a2Nx7LJV3+WeWyxarDlmGDTurSk8r4nYbS0NleiIwKe8D3uxjBgvCxVdaIYMSUa3otdsN+KpxOrrdHTd8IIwpykCgYAyWePPzlY5McAdO8OjTPEbbBnn03YVrsvu0Q7M4bwoo9Njib9jx8JzOoqQm5Quz/SFyQtRW/QLlKAui3YYFxylFRWjZXWRoAKzX12kL6L2s0BZdtDCvEHjWlnDvJp+ZuYVuabvTHlfAAldYTlvUSN2/ZvOzrhlKO1cjqT3RDWnDwKBgHnKITLP0QbypTQq0VN+pgpVQ3N9wBSlVqv/g0ZwXHwiS5L2OvNi02wurjJ+uoK6RmHEXg38hsVmRhgdPXI7yVhmGmTUfatKw5AnxlUr1izDvrdms8cu/ysT90lMAunn+PX8WO7/s4B53QusmEGK/19aN4iS3wJnamDo4VqcG+dRAoGBAKZaHYA0WIQqjcqgmm00SLyiogs8MzONAAgkvYHPqvR11Qp3xh2PyRBufY8L4rxqq9rNMMTEzbZPjRcyvdLkXveVBdDDiVy6KIF+MpWC4rYKM8mOyat4pp9PxhaKbcVrW/xxz0EaTDjZfsl0kAs+DWVz6CrggaKlayDZYwkk+Iwa";


    /********** RSA2公钥模式签名必用，公钥证书签名不传 ************/
    /**注：如果采用非证书模式，则无需赋值三个证书路径，改为赋值如下的支付宝公钥字符串即可**/
    //设置RSA2公钥方式：hhttps://opendocs.alipay.com/common/02kdnc?pathHash=fb0c752a

    //支付宝公钥
    //请填写您的支付宝公钥，例如：MIIBIjANBg...
    public static final  String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmy6+mv9P8caLnnTJZXHMelhLc+71aOjTxS6l3CtBPCHW12YzKfRkcXF+L6xM8zLWp1o5znzJT50TvWVUaZ1iCWN7M+HiewSKOhAxBR3x8PFRDwlS0xgXkKWX5Aq0419CJJgK9nfSP3q0dK3iVjk8KcoJKDuPjP0lljgOD5Py/bheS8DIYhP4ChSIBDxFrhS/NCxENGCfhCVFmMVAJ+Y04SSrdtLwNNZpqIDswdYXDGVYVlRNvHyA9xiuhA/jWmR4NfIX0jW8y8kPv/izOV9i9mJ4xXMNUceqKkikDjCp6bLge/qTMZ9W7EaxQsqnaTGOlT9VXyhWPsLPKcl+TZNYLwIDAQAB";

    //（必填）签名类型
    public static String sign_type = "RSA2";

    //（必填）编码格式
    public static String charset = "UTF-8";

    //请求格式，固定值json
    public static String format = "JSON";

    //调用的接口版本，固定为：1.0
    public static String version = "1.0";


    /** 代码中其他配置信息，根据各产品API公共参数选择性引用  **/
    //通过公共参数notify_url配置上传异步地址
    //异步通知地址需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，商户外网可以post访问的异步地址（不支持本地测试），用于接收支付宝返回的支付结果
    public static String notify_url ="";

    //通过接口公共参数return_url配置上传同步地址
    //同步通知地址需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，get访问，用于支付完成后前端页面同步跳转
    public static String return_url ="localhost:8080/tj_shopping/cart.html";//

    //日志记录目录
    public static String log_path = "D:/log.txt";


}